//
//  ViewController.m
//  自定义Loading指示器
//
//  Created by zxy on 2018/11/13.
//  Copyright © 2018年 zxy. All rights reserved.
//

#import "ViewController.h"
#import "UIView+LoadAnimation.h"
#define CScreenWidth [UIScreen mainScreen].bounds.size.width
@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    [self alphaAction];
}

- (void)alphaAction{
    
    UIView *loadAniView = [[UIView alloc]initWithFrame:CGRectMake(100, 100, 100, 100)];
    loadAniView.backgroundColor = [UIColor lightGrayColor];
    [self.view addSubview:loadAniView];
    [loadAniView LoadAnimationLayerColor:[UIColor greenColor] animationLayerCount:10];
    
}
@end
